<?php

use backend\themes\ThemeAsset;
use common\assets\AdminLteAsset;
use common\assets\AuditJSLoggingAsset;
use yii\helpers\Html;

/** @var yii\web\View $this */
/** @var mixed $content */

$moduleName = $this->context->module->id;

AuditJSLoggingAsset::register($this);
$asset = ThemeAsset::register($this);

AdminLteAsset::register($this);

?>
<?php $this->beginPage() ?>
<html lang="<?php echo Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php echo Html::csrfMetaTags() ?>
    <title><?php echo Html::encode($this->title) ?> - <?php echo Yii::t('backend', 'Control Panel') ?></title>
    <link rel="shortcut icon" href="<?php echo $asset->baseUrl ?>/favicon.ico" type="image/x-icon">
    <link rel="icon" href="<?php echo $asset->baseUrl ?>/favicon.ico" type="image/x-icon">
    <?php $this->head() ?>
</head>
<body class="skin-blue sidebar-mini">
<?php $this->beginBody() ?>

<div class="wrapper fixed">

    <?php echo $this->render('header.php') ?>

    <?php echo $this->render('left.php') ?>

    <?php echo $this->render('content.php', ['content' => $content]) ?>

    <?php echo $this->render('bottom.php') ?>

</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
